<form action="return false;" method="POST" id="suppliers">
	<div id="group">
		<div id="check-text"><span>全选</span></div>
		<div id="check-del">删除</div>
		<div id="check-recover">回收</div>
	</div>
	<div id="list">
		<?php foreach ($suppliers as $p) { ?>
		<div class="supplier each del-flg-<?php echo $p->del_flg ?>">
			<div class="check"><input type="checkbox" class="suppliers" name="suppliers[]" value="<?php echo $p->supplier_id; ?>" /></div>
			<div class="name">[<span><?php echo $p->supplier_code; ?></span>]<?php echo $p->supplier_name; ?></div>
			<div class="btn"><a href="<?php echo $site['root'] . 'supplier/update/' . $p->supplier_id ?>" class="edit"></a><?php if($p->del_flg == 0){ ?><a href="javascript:void(0)" class="del"></a><?php }else{ ?><a href="javascript:void(0)" class="recover"><?php } ?></a><a href="javascript:void(0)" class="contact"></a></div>
			<div class="priority"><?php echo $priority[$p->supplier_priority]; ?></div>
			<div class="location"><?php echo $p->supplier_location; ?></div>
			<div class="create-date"><?php echo date("Y-m-d", $p->create_date); ?></div>
		</div>
		<?php } ?>
	</div>
</form>
